<?php function _tag_announce_tag_announce_up($data, $number, $rows, $count, $page, $pages, $setting){ global $PHPCMS,$MODULE,$M,$CATEGORY,$TYPE,$AREA,$GROUP,$MODEL,$templateid,$_userid,$_username;@extract($setting);?><marquee direction="up" onmouseover="this.stop();" onmouseout="this.start();" behavior="scroll" scrollamount="3" width="<?php echo $width;?>" height="<?php echo $height;?>">
<?php if(is_array($data)) foreach($data AS $announce) { ?>
 <li><a href="<?php echo $announce['linkurl'];?>" <?php if($target) { ?>target="_blank"<?php } ?>><?php echo $announce['title'];?></a>&nbsp;[<?php if($showauthor) { ?>发布人：<?php echo $announce['username'];?>&nbsp;<?php } ?><?php echo $announce['addtime'];?>]</li>
<?php } ?>
</marquee><?php } ?>